package com.haiyi.activiti.engine.framework.basic.impl;

import com.haiyi.activiti.engine.model.entity.User;
import com.haiyi.activiti.engine.framework.basic.SecurityAdapter;
import org.springframework.stereotype.Component;

/**
 * <p> </p>
 *
 * <pre> Created: 2018/12/7 9:34 </pre>
 *
 * @author hlu
 * @version 1.0
 * @since JDK 1.7
 */
@Component
public class SecurityAdapterImpl implements SecurityAdapter {
    @Override
    public User getCurrentUser() {
        final User user = new User();
        user.setIid("1");
        return user;
    }

    @Override
    public void login(User user) {
        
    }

    @Override
    public void logout(User user) {

    }
}
